class Init : public Regul
{
 public:
  bool _rightOrLeft=false; // false stands for "trying to find the right "à la cape" heading ( so, turning left... )
  int _maxResetNb; // max allowed reset number
  int _nbReset; // nb of time we had to reset the heading averaging due to too many variations
  unsigned long _waitIter; // nb of iteration to wait after a change has been made ( the rudder angle for ex )
  unsigned long _currentIterNb; // this regulator is running since _currentIterNb iterations
  int _nbHeadingSample;
  int _nbSpeedSample;
  Init(int nbHeadingSample, int nbSpeedSample, int maxResetNb);
  int regul(SailBoat boat);
};
